#ifndef __UTIL_H_
#define __UTIL_H_

#include <iostream>
#include <vector>

enum TState {
  Create,  //!< The task is newly created
  Idle,    //!< The task is idle and has nothing to do 
  Working, //!< The task is in progress
  Done     //!< The task is done
};

typedef enum TState TState_t;

typedef std::vector<TState_t *> st_vector_t; // vector of state pointer to keep track of child tasks

#endif
